List Box Item Container for 2D List Box nodes. More...
#include <kanzi/ui/node/list_box_item_container.hpp>
Static Public Member Functions | |
static ListBoxItemContainer2DSharedPtr | create (Domain *domain, string_view name) |
Creates a list box item container node. | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
![]() | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
![]() | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
![]() | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Protected Attributes | |
ClassPropertyDefaultValue< bool > | m_clipChildrenClassDefaultValue |
Class default value for ClipChildrenProperty. | |
![]() | |
BindingRuntimeHandle | m_focusOrderBinding |
ItemBaseTypeSharedPtr | m_item |
![]() | |
ClickManipulatorSharedPtr | m_clickManipulator |
The ClickManipulator. | |
MultiClickManipulatorSharedPtr | m_multiClickManipulator |
Multi-Click manipulator. | |
Additional Inherited Members | |
![]() | |
using | ItemBaseType |
using | ItemBaseTypeSharedPtr |
using | ItemLayoutSharedPtr |
![]() | |
void | attachItem (ItemBaseTypeSharedPtr item) |
Attaches a List Box item to the List Box Item Container. | |
void | detachItem () |
Detaches current List Box item from the List Box Item Container. | |
auto | getItem () const |
Returns the List Box item that is attached to the List Box Item Container. | |
optional< size_t > | getItemIndex () const |
Returns the index of the item held by the List Box Item Container. | |
optional< size_t > | getPresenterIndex () const |
Returns a List Box Presenter item index. | |
bool | isSelected () const |
Returns the value of SelectedProperty. | |
void | setPresenterIndex (optional< size_t > itemIndex) |
Sets the List Box Presenter item index. | |
void | setSelected (bool value) |
Sets the value of SelectedProperty. | |
![]() | |
bool | isDoubleClickEnabled () const |
Gets the value of DoubleClickEnabledProperty. | |
void | setDoubleClickEnabled (bool value) |
Sets the value of DoubleClickEnabledProperty. | |
![]() | |
static PropertyType< bool > | DoubleClickEnabledProperty |
Enables the double-click gesture for a node. | |
![]() | |
static PropertyType< int > | ItemIndexProperty |
Reports the index of the item held by the List Box Item Container. | |
static PropertyType< bool > | SelectedProperty |
Indicates whether a List Box item held by this List Box Item Container is selected. | |
![]() | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
List Box Item Container for 2D List Box nodes.
Wrapper component for storing item object nodes.
|
explicitprotected |
Constructor.
domain | The UI domain the new node belongs to. |
name | The name of the node. |
|
static |
Creates a list box item container node.
domain | The UI domain the new node belongs to. |
name | Name of the node. |
|
static |
|
protected |
Class default value for ClipChildrenProperty.
Required to override the class default value from ContentLayout2D.